<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<script type="text/javascript" src="/world/script/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	$("#input_search").val("맥주 검색");
	$("#input_search").on("focus", function(){
		$("#input_search").val("").css("color", "black");
	});	
	$("#search_button").on("click", function(){
		location.href="${initParam.rootPath}/liquor/beer_search_index.do?value="+$("#input_search").val();
	});
});
</script>

 		<table>
 			<tr>
 				<td width="250">
 					<a href="${initParam.rootPath}/main.jsp">
 						<span class="logo_ar">[</span>
 						<span id="logo">GoalBeer</span>
 						<span class="logo_ar">]</span>
 					</a>
 				 </td>
 				 <td width="120"  valign="bottom">
					 <a href="${initParam.rootPath}/about/about.jsp">공지사항</a>
 				</td>
 				<td width="150" valign="bottom">
					 <a href="${initParam.rootPath}/liquor/beer_search_page.do">맥주검색</a>
 				</td>
 				<td width="120" valign="bottom">
	 					<a href="${initParam.rootPath}/liquor/beerWantEat.do">게시판</a>
 				</td>
 				<c:if test="${sessionScope.login_member!=null}">
	 				<td width="200" valign="bottom">
	 				 	<a href="${initParam.rootPath}/liquor/beerRecommend.do">당신을 위한 맥주</a>
	 				</td>
	 			<!-- 
	 			 <td width="120" valign="bottom">
	 					<a href="${initParam.rootPath}/liquor/beerWantEat.do">My-Beer</a>
	 				</td>
	 			 -->	
 				</c:if>
					<td align="right" valign="bottom">	
						<input type="text" id="input_search" value="맥주 검색">
						<input type="image" id="search_button"  src="${initParam.rootPath}/image/main/search_button.jpg" align="absbottom">
					</td>
 		</table>
 		<hr>
 	
 
 
